Actually, some light leaks can be made through Photoshop, and you can probably find a tutorial online for that, but natural light leaks (with an actual film camera) are made when you overexpose the film to the light, so it makes the burst. Again, you can look this up :)